﻿

using Oliving.Edge.IServices.BASE;
using Oliving.Edge.Model;
using Oliving.Edge.Model.Dto;
using Oliving.Edge.Model.Models;
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;

namespace Oliving.Edge.IServices
{
    /// <summary>
    /// IDTSN_ShangWeiJiServices , 
    /// </summary>	
    public interface IDTSN_ShangWeiJiServices : IBaseServices<DTSN_ShangWeiJi>
    {

        /// <summary>
        /// 自定义分页查询
        /// </summary>
        /// <param name="whereExpression">查询条件</param>
        /// <param name="intPageIndex">页码</param>
        /// <param name="intPageSize">页大小</param>
        /// <param name="strOrderByFileds">排序</param>
        /// <returns></returns>
        Task<PageModel<DTSN_ShangWeiJiPageDto>> QueryPageList(
            Expression<Func<DTSN_ShangWeiJi, bool>> whereExpression,
            int intPageIndex = 1,
            int intPageSize = 20,
            string strOrderByFileds = null);

    }
}

